package com.gongzuozhan.mapper;

import com.gongzuozhan.pojo.BingLi;
import com.gongzuozhan.pojo.GuaHaoJiLu;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * 患者挂号记录(GuaHaoJiLu)表数据库访问层
 *
 * @author Gold
 * @since 2021-03-17 14:59:20
 * @version 1.0
 */
public interface GuaHaoJiLuMapper {


    /**
     * 查询当前日期数据
     * @return  返回所有数据
     */
    List<GuaHaoJiLu> chaXunJinRi(@Param("jiuZhenShiJian") String jiuZhenShiJian

    );

    /**
     * 查询所有数据
     * @return  返回所有数据
     */
    List<GuaHaoJiLu> chaXunAll(@Param("jiuZhenShiJianQiShi") String jiuZhenShiJianQiShi,
                               @Param ("jiuZhenShiJianJieShu")String jiuZhenShiJianJieShu,
                               @Param("jiuZhenJiLuZhuangTai") String jiuZhenJiLuZhuangTai,
                               @Param ("guaHaoDanHao")String guaDanDanHao,
                               @Param ("xingMing")String xingMing
                               );


    /**
     * 查询当前日期数据
     * @return  返回所有数据
     */
    List<GuaHaoJiLu> chaXunHuanZe(@Param("guaHaoDanHao") String  guaHaoDanHao );


    String chaxun(@Param("guaHaoDanHao")String guaHaoDanHao);


    /**
     * 修改数据
     *
     * @param guaDanDanHao 挂单单号
     * @return 影响行数
     */
    int gengXinById(@Param("guaDanDanHao")String guaDanDanHao ,@Param("jiuZhenJiLuZhuangTai") Integer jiuZhenJiLuZhuangTai);



}